package com.snake.springboot.custom.api.service.base;

import com.snake.springboot.custom.api.model.base.CustCertModel;
import com.snake.springboot.custom.api.model.base.CustomModel;
import com.snake.springboot.custom.api.request.base.CustomAdminReq;
import com.snake.springboot.custom.api.request.base.CustomQuery;
import com.snake.springboot.custom.api.request.base.CustomReq;
import com.snake.springboot.custom.api.request.page.PageQuery;
import com.snake.springboot.custom.api.response.base.CustomRsp;
import org.snake.common.result.ReturnList;

import java.util.List;

/**
 * 商户信息接口
 * 类{@code CustomService} </br>
 * 创建时间：2025/02/08 09:41
 * @author yangxt
 * @see
 */
public interface CustomService{


    CustomReq addCustom(CustomReq customReq);

    void modifyCustom(CustomModel model);

    void removeCustom(String id);

    ReturnList<CustomRsp> queryCustomList(PageQuery<CustomQuery> params);

    CustomRsp queryByCustomId(String id);

    void modifyCert(CustCertModel model);

    CustomReq register(CustomReq customReq);

    void adminModifyCustom(CustomAdminReq model);

    List<CustomRsp> queryCustomAllList(CustomQuery query);

}
